package tests;
import tests.ChessGameMethodsTest;
import tests.ChessGameMovesTest;
import tests.QueenGameTest;
import junit.framework.Test;
import junit.framework.TestSuite;

/**
 * TestSuite class to test all of the implemented test classes at once
 * 
 * @author Jordan Beland
 *
 */
public class AllTests extends TestSuite {

	/**
	 * Main method to run the suite() function
	 * @param args
	 * @author Jordan Beland
	 */
	public static void main(String[] args){
		//junit.textui.TestRunner.run(AllTests.class);
	}
	
	/**
	 * Adds all class tests to a TestSuite and returns it
	 * 
	 * @return TestSuite of all classes to test
	 * @author Jordan Beland
	 * @modified by Selman Selman
	 */
	public static Test suite() {
		TestSuite suite = new TestSuite("Test for QueenGame");
		suite.addTest(new TestSuite(QueenGameTest.class));
		suite.addTest(new TestSuite(ChessGameMethodsTest.class));
		suite.addTest(new TestSuite(ChessGameMovesTest.class));
		suite.addTest(new TestSuite(KnightTest.class));
		suite.addTest(new TestSuite(QueenTest.class));
		suite.addTest(new TestSuite(KingTest.class));
		suite.addTest(new TestSuite(BishopTest.class));
		suite.addTest(new TestSuite(PawnTest.class));
		suite.addTest(new TestSuite(RookTest.class));
		return suite;
	}
}
